<%@page import="com.ykwep.web.server.data.Page"%>
<%@page import="javax.jdo.PersistenceManager"%>
<%@page import="com.ykwep.web.server.PMF"%>
<%@page import="com.ykwep.web.server.data.NewsItem"%>
<%@page import="java.util.List"%>		

<jsp:include page="/header.jsp" />		

		<%
		
		String pageName = request.getParameter("page_name");
		Page pageP = Page.getPageByName(pageName);
		%>

<% if(pageP==null){%>
The page could not be found.

<%} else{%>
		<h1 id="page-header"><%= pageP.getTitle() %></h1>
		<%= pageP.getContent() %>

		<%} %>		
<jsp:include page="/footer.jsp" />
				